package cn.com.pet.common.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.pet.common.dao.UserInfoMapper;
import cn.com.pet.common.entity.UserInfo;
import cn.com.pet.common.service.UserInfoService;

@Service("userInfoService")
public class UserInfoServiceImpl implements UserInfoService {

	@Autowired
	UserInfoMapper userInfoMapper;

	@Override
	public List<UserInfo> getUserInfos(UserInfo userInfo) {
		// TODO Auto-generated method stub
		return userInfoMapper.getUserInfos(userInfo);
	}

	@Override
	public void addUserInfo(UserInfo userInfo) {
		// TODO Auto-generated method stub
		userInfoMapper.addUserInfo(userInfo);
	}

	@Override
	public void updateUserInfo(UserInfo userInfo) {
		// TODO Auto-generated method stub
		userInfoMapper.updateUserInfo(userInfo);
	}
	
}
